package cn.com.chengmandian.erp.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * ERP系统-库存模块-发货单批次
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("erp_stock_send_goods")
@ApiModel(value = "ErpStockSendGoods对象", description = "ERP系统-库存模块-发货单批次")
public class ErpStockSendGoods implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("发货单ID")
    private Integer sendId;

    @ApiModelProperty("关联采购批次编号")
    private String purchaseBathNum;

    @ApiModelProperty("关联采购批次ID")
    private Integer purchaseBathId;

    @ApiModelProperty("请购单id")
    private Integer applyItemId;

    @ApiModelProperty("发货批次PSB-")
    private String batchNum;

    @ApiModelProperty("品类ID")
    private Integer categoryId;

    @ApiModelProperty("货品ID")
    private Integer goodsId;

    @ApiModelProperty("货品品牌ID")
    private Integer brandId;

    @ApiModelProperty("出库库存id")
    private Integer stockId;

    @ApiModelProperty("货品品牌")
    private String brandName;

    @ApiModelProperty("货品SKU")
    private String goodsSku;

    @ApiModelProperty("货品名称")
    private String goodsName;

    @ApiModelProperty("货品属性值:[{\"attribute_id\":1,\"attribute_name\":\"接口\",\"value_id\":1,\"value_name\":\"2+6大电流方口\"},.....]")
    private String goodsValue;

    @ApiModelProperty("数量")
    private Integer amount;

    @ApiModelProperty("总价")
    private BigDecimal money;

    @ApiModelProperty("单位")
    private String unit;

    @ApiModelProperty("修改时间")
    private Date modifyTime;

    @ApiModelProperty("创建时间")
    private Date createTime;

}
